﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TCL.EO
{
    [Serializable()]
    public class KeyValueEO
    {
        public String K { get; set; }
        public String V { get; set; }

        public KeyValueEO(String _K, String _V)
        {
            this.K = _K;
            this.V = _V;
        }

        public KeyValueEO()
        {
        }
    }

    [Serializable()]
    public class KeyValueNumEO
    {
        public Int32 K { get; set; }
        public Int32 V { get; set; }

        public KeyValueNumEO(Int32 _K, Int32 _V)
        {
            this.K = _K;
            this.V = _V;
        }

        public KeyValueNumEO()
        {
        }
    }

    [Serializable()]
    public class KeyValueDataEO : KeyValueEO
    {
        public String D { get; set; }

        public KeyValueDataEO(String _K, String _V, String _D)
        {
            this.K = _K;
            this.V = _V;
            this.D = _D;
        }

        public KeyValueDataEO()
        {
        }
    }

    [Serializable()]
    public class KeyValueDataGroupEO : KeyValueEO
    {
        public String D { get; set; }
        public String G { get; set; }

        public KeyValueDataGroupEO(String _K, String _V, String _D, String _G)
        {
            this.K = _K;
            this.V = _V;
            this.D = _D;
            this.G = _G;
        }

        public KeyValueDataGroupEO()
        {
        }
    }
}
